package com.barcode.QR;

import java.awt.image.BufferedImage;
import java.io.InputStream;
import java.io.OutputStream;

import com.barcode.BarCodeIOException;

public interface QRUtil {

	void writeImage(String data, OutputStream os) throws BarCodeIOException;
	
	void writeImage(String data, String encoding, OutputStream os) throws BarCodeIOException;
	
	BufferedImage readImage(InputStream is) throws BarCodeIOException;
	
	String parseImage(InputStream is) throws BarCodeIOException;
	
	String parseImage(InputStream is, String encoding) throws BarCodeIOException;
	
}
